#!/bin/bash


read -p "please input you need statistic directory:" u_dir
for i in $@
do
num=`find ${u_dir} -name "*${i}" -type f -print |wc -l`
echo "${1} have *${i} number is:${num}" 
done
